package com.neusoft.service.impl;

import com.neusoft.mapper.DeptmentMapper;
import com.neusoft.service.DeptmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class DeptmentServiceImpl implements DeptmentService {

    @Autowired
    private DeptmentMapper deptmentMapper;

    @Override
    public List<Map<String, Object>> getDeptmentList() {
        return deptmentMapper.selectAllDepartment();
    }

    @Override
    public List<Map<String, Object>> getCheckDeptmentList() {
        return deptmentMapper.selectCheckDepartment();
    }
}
